package com.yezi.lampcourt.ui.contract;

import com.yezi.lampcourt.base.BaseView;
import com.yezi.lampcourt.entity.ExecuteResultLampBean;
import com.yezi.lampcourt.entity.LampBean;
import com.yezi.lampcourt.entity.ModeBean;

import java.util.List;

/**
 * Created by HongMing Ye
 * on 2017/10/9 0009.
 */

public class CourtContract {
    public interface CourtView extends BaseView {
        void getLampListSuccess(List<LampBean> lampBeanList);

        void getLampListFail(String msg);

        void getLampModeSuccess(List<ModeBean> modeList);

        void getLampModeFail(String msg);

        void executeModeSuccess(List<ExecuteResultLampBean> lampBeanList);

        void executeModeFail(String msg);
    }

    public interface CourtPresenterInterface {
        void getLampList(String id);

        void getModeList();

        void executeMode(String jzqId, String modeId);
    }
}
